import {request} from "@/utils/request";
//我的审核
export const pageApplyByStep = (data: any) => {
    return request('merchant/applyInfoEntity/pageApplyByStep', data)
}
//我提交的审核
export const pageApplyInfo = (data: any) => {
    return request('merchant/applyInfoEntity/pageApplyInfo',data)
}
//审核详情
export const getApplyInfoById = (data: any) => {
    return request('merchant/applyInfoEntity/getApplyInfoById',data)
}
//审核
export const saveOrUpdate = (data: any) => {
    return request('merchant/applyStepEntity/saveOrUpdate',data)
}
//审核
export const applyCancel = (data: any) => {
    return request('merchant/applyInfoEntity/cancel',data)
}

//商品审核部分的审核详情
//商品审核-审核通过与否
export const goodsApply = (data: any) => {
    return request('merchant/store/goods/apply',data)
}
//商品审核-审核分页
export const goodsApplyPager = (data: any) => {
    return request('merchant/store/goods/applyPager',data)
}
//商品审核-审核分页统计
export const goodsApplyStats = (data: any) => {
    return request('merchant/store/goods/applyStats',data)
}
//商品审核详情
export const goodsApplyInfo = (data: any) => {
    return request('merchant/store/goods/applyInfo',data)
}

//获取商家
export const merchantList = (data: any) => {
    return request('merchant/store/goods/stores',data)
}
//获取分类
export const getCategory = (data: any) => {
    return request('merchant/category/getCategory',data)
}
